package com.otis.payroll;

import java.util.ArrayList;
import java.util.List;

public class PayrollController {
    
    public static void main(String[] args) {
        payrollTxtManupulation pay = new payrollTxtManupulation();
        List l = new ArrayList();
        try {
            l = new ReportGenerate().fetchdata("AGE1000111","01/01/2011","12/01/2014");
           pay.insert_Apppend(l,"F:/Abhi/Java/PayrollData.txt",true);
          // pay.deleteData("F:/Abhi/Java/PayrollData.txt");
         //  pay.deleteFile("F:/Abhi/Java/PayrollData.txt");
        } catch (Exception ex) {
            System.err.println(ex);
        }
    }
}
